package com.joysuch.wwyt.dynamicdata;


import org.springframework.web.multipart.MultipartFile;

public interface IDynamicProcessorFactory {

    /**
     * Write dynamic data process
     *
     * @param dataObj
     * @param bizType
     * @param selector
     * @param bizId
     */
    void writeProcess(Object dataObj, String bizType, String selector, Object bizId);

    /**
     * Import dynamic data process
     * @param file
     * @param handler
     */
    void importProcess(MultipartFile file,String handler, String selector);

    /**
     * Read dynamic data process
     * @param dataObj
     * @param dataDumpHandler
     * @param selector
     * @RETURN
     */
    Object readProcess(Object dataObj,String dataDumpHandler, String selector);

}
